import request from "@/utils/request";

export function getList(params?: any) {
  return request({
    url: "/supplier/permission/list",
    method: "get",
    params
  });
}

export function doAdd(data?: any) {
  return request({
    url: "/supplier/permission/add",
    method: "post",
    data
  });
}


export function doEdit(data?: any) {
  return request({
    url: "/supplier/permission/edit",
    method: "post",
    data
  });
}

export function doDelete(data?: any) {
  return request({
    url: "/supplier/permission/del",
    method: "post",
    data
  });
}

